SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 50535: A "Security processing failed" error occurs when you use a DB2 user ID that is case sensitive

DetailsHotfixAboutRate It
When you use SAS/ACCESS® Interface to DB2 with a user ID that is case sensitive, running code against DB2 might lead to this error:
ERROR: CLI error trying to establish connection: [IBM][CLI Driver] SQL30082N Security processing failed with reason "24" ("USERNAME AND/OR PASSWORD INVALID"). SQLSTATE=08001
The error occurs because your SAS® software is sending the user ID in uppercase characters to the database.

Workaround

SAS has a new LIBNAME option to maintain the case when passing the user ID to the database. Use the LIBNAME statement option as follows:

PRESERVE_USER=YES

To set this option globally, use the environment variable as shown here:

SAS_DB2_PRESERVE_USER

Set the environment variable on your Windows system as follows:

  1. Select Start ► Control Panel.
  2. Click System to display the window that contains your system information.
  3. Click the Advanced system settings link, in the upper left part of the window.
  4. In the System Properties dialog box, click the Environment Variables button.
  5. Under System variables, click New to open the New System Variable dialog box.
  6. Enter the variable name: SAS_DB2_PRESERVE_USER NAME
  7. Enter the variable value: YES
  8. Click OK, OK, and OK.

To set the option on a UNIX system, add it to the !SASROOT/bin/sasenv_local file where !SASROOT is the directory in which you installed your SAS software.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS/ACCESS Interface to DB2Microsoft® Windows® for 64-Bit Itanium-based Systems9.2 TS2M3
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.2 TS2M3
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.2 TS2M3
Microsoft Windows XP 64-bit Edition9.2 TS2M3
Microsoft® Windows® for x649.2 TS2M39.4 TS1M1
Microsoft Windows Server 2003 Datacenter Edition9.2 TS2M3
Microsoft Windows Server 2003 Enterprise Edition9.2 TS2M3
Microsoft Windows Server 2003 Standard Edition9.2 TS2M3
Microsoft Windows Server 2003 for x649.2 TS2M3
Microsoft Windows Server 20089.2 TS2M3
Microsoft Windows Server 2008 R2 for x649.2 TS2M39.4 TS1M1
Microsoft Windows Server 2008 for x649.2 TS2M39.4 TS1M1
Microsoft Windows XP Professional9.2 TS2M3
Windows 7 Enterprise 32 bit9.2 TS2M3
Windows 7 Enterprise x649.2 TS2M3
Windows 7 Home Premium 32 bit9.2 TS2M3
Windows 7 Home Premium x649.2 TS2M3
Windows 7 Professional 32 bit9.2 TS2M3
Windows 7 Professional x649.2 TS2M3
Windows 7 Ultimate 32 bit9.2 TS2M3
Windows 7 Ultimate x649.2 TS2M3
Windows Vista9.2 TS2M3
Windows Vista for x649.2 TS2M3
64-bit Enabled AIX9.2 TS2M39.4 TS1M1
64-bit Enabled HP-UX9.2 TS2M39.4 TS1M1
64-bit Enabled Solaris9.2 TS2M39.4 TS1M1
HP-UX IPF9.2 TS2M39.4 TS1M1
Linux9.2 TS2M39.4 TS1M1
Linux for x649.2 TS2M39.4 TS1M1
Solaris for x649.2 TS2M39.4 TS1M1
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.